package com.voicechat.firstmet.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @ProjectName: FirstMet
 * @Package: com.voicechat.firstmet.bean
 * @ClassName: VoiceChatBean
 * @Description: java类作用描述
 * @Author: ljp
 * @CreateDate: 2018/11/21 12:02
 * @Version: 1.0
 */
public class VoiceChatBean implements Parcelable{


    /**
     * code : 200
     * msg : 成功
     * object : {"isNewRecord":true,"roomId":10003}
     * map : {"callingUser":{"id":"f68b3c28db3c41d795b34268aef3b68a","isNewRecord":false,"updateDate":"2018-11-21 11:35:28","number":"123456","mobile":"18756935824","nickName":"小姐姐","avatarUrl":"head/58241542174592183.jpg","gender":2,"birthday":"1990-11-19","height":"150cm;31kg","province":"北京","voiceInfo":"voice/18756935824yinyin.aac","duration":14,"mark":1,"status":2,"autograph":"#我喜欢你，你","ascription":"西城","constellation":"天蝎座","gold":5,"type":2,"voiceSign":1,"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDMzNzYxMjg1ODgsInBheWxvYWQiOiJ7XCJpZFwiOlwiZjY4YjNjMjhkYjNjNDFkNzk1YjM0MjY4YWVmM2I2OGFcIixcImlzTmV3UmVjb3JkXCI6ZmFsc2UsXCJyZW1hcmtzXCI6bnVsbCxcImNyZWF0ZURhdGVcIjpudWxsLFwidXBkYXRlRGF0ZVwiOm51bGwsXCJudW1iZXJcIjpudWxsLFwibW9iaWxlXCI6bnVsbCxcInRyaXBhcnRpdGVBY2NvdW50XCI6bnVsbCxcInRyaXBhcnRpdGVUeXBlXCI6bnVsbCxcInB3ZFwiOm51bGwsXCJuYW1lXCI6bnVsbCxcIm5pY2tOYW1lXCI6bnVsbCxcImF2YXRhclVybFwiOm51bGwsXCJnZW5kZXJcIjpudWxsLFwiYmlydGhkYXlcIjpudWxsLFwiaGVpZ2h0XCI6bnVsbCxcInByb3ZpbmNlXCI6bnVsbCxcInZvaWNlSW5mb1wiOm51bGwsXCJkdXJhdGlvblwiOm51bGwsXCJtYXJrXCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJhdXRvZ3JhcGhcIjpudWxsLFwiYXNjcmlwdGlvblwiOm51bGwsXCJjb25zdGVsbGF0aW9uXCI6bnVsbCxcImdvbGRcIjpudWxsLFwidHlwZVwiOm51bGwsXCJhdHRlc3RhdGlvbkRhdGVcIjpudWxsLFwiY292ZXJVcmxcIjpudWxsLFwiY2hhbm5lbFwiOm51bGwsXCJ2b2ljZVNpZ25cIjpudWxsLFwiY29kZVwiOm51bGwsXCJlcXVpcG1lbnRJZFwiOlwiYV9pbWVpXzg2OTg5NzAzNjAzMTI5MVwiLFwidG9rZW5cIjpudWxsLFwidlR5cGVcIjpudWxsLFwiYlR5cGVcIjpudWxsLFwibGFib3VyTmFtZVwiOm51bGwsXCJhbmNob3JJZFwiOm51bGwsXCJ1c2VySWRcIjpudWxsLFwiaXNGYWJ1bG91c1wiOm51bGwsXCJpc0dpZnRcIjpudWxsLFwiaXNWb2ljZVRpbWVcIjpudWxsLFwiaXNBdHRlc3RhdGlvblwiOm51bGwsXCJ2YWdyYW5jeVwiOm51bGwsXCJyZW1pbmRcIjpudWxsLFwicGF5U2lnblwiOm51bGwsXCJtYXRlU3RhdGVcIjpudWxsfSJ9.baMh1n8n800K9GO34qfawq56kjlKZTGmY2-TCA7TwOo","vType":2,"isAttestation":1,"vagrancy":1,"remind":1,"mateState":1},"calledUser":{"id":"d3611093491141cfb8e1b43692e5d3b6","isNewRecord":false,"updateDate":"2018-11-20 20:45:52","number":"1111","mobile":"13754326412","nickName":"ss听听歌","avatarUrl":"head/64121542624094.jpg","gender":1,"birthday":"1998-04-24","height":"176cm;61kg","province":"北京","voiceInfo":"voice/13754326412yinyin.aac","duration":5,"mark":1,"status":1,"autograph":"yy\u2006uu\u2006fu\u2006fu\u2006y\u2006g\u2006f\u2006j\u2006","ascription":"西城","constellation":"金牛座","gold":10,"type":2,"voiceSign":1,"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDMzMjI3NTI1MjQsInBheWxvYWQiOiJ7XCJpZFwiOlwiZDM2MTEwOTM0OTExNDFjZmI4ZTFiNDM2OTJlNWQzYjZcIixcImlzTmV3UmVjb3JkXCI6ZmFsc2UsXCJyZW1hcmtzXCI6bnVsbCxcImNyZWF0ZURhdGVcIjpudWxsLFwidXBkYXRlRGF0ZVwiOm51bGwsXCJudW1iZXJcIjpudWxsLFwibW9iaWxlXCI6bnVsbCxcInRyaXBhcnRpdGVBY2NvdW50XCI6bnVsbCxcInRyaXBhcnRpdGVUeXBlXCI6bnVsbCxcInB3ZFwiOm51bGwsXCJuYW1lXCI6bnVsbCxcIm5pY2tOYW1lXCI6bnVsbCxcImF2YXRhclVybFwiOm51bGwsXCJnZW5kZXJcIjpudWxsLFwiYmlydGhkYXlcIjpudWxsLFwiaGVpZ2h0XCI6bnVsbCxcInByb3ZpbmNlXCI6bnVsbCxcInZvaWNlSW5mb1wiOm51bGwsXCJkdXJhdGlvblwiOm51bGwsXCJtYXJrXCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJhdXRvZ3JhcGhcIjpudWxsLFwiYXNjcmlwdGlvblwiOm51bGwsXCJjb25zdGVsbGF0aW9uXCI6bnVsbCxcImdvbGRcIjpudWxsLFwidHlwZVwiOm51bGwsXCJhdHRlc3RhdGlvbkRhdGVcIjpudWxsLFwiY292ZXJVcmxcIjpudWxsLFwiY2hhbm5lbFwiOm51bGwsXCJ2b2ljZVNpZ25cIjpudWxsLFwiY29kZVwiOm51bGwsXCJlcXVpcG1lbnRJZFwiOlwiQjREODFEMDgtNTk2RS00QjRBLUJGRTQtREQ3QUE1MDgyRUVBXCIsXCJ0b2tlblwiOm51bGwsXCJ2VHlwZVwiOm51bGwsXCJiVHlwZVwiOm51bGwsXCJsYWJvdXJOYW1lXCI6bnVsbCxcImFuY2hvcklkXCI6bnVsbCxcInVzZXJJZFwiOm51bGwsXCJpc0ZhYnVsb3VzXCI6bnVsbCxcImlzR2lmdFwiOm51bGwsXCJpc1ZvaWNlVGltZVwiOm51bGwsXCJpc0F0dGVzdGF0aW9uXCI6bnVsbCxcInZhZ3JhbmN5XCI6bnVsbCxcInJlbWluZFwiOm51bGwsXCJwYXlTaWduXCI6bnVsbCxcIm1hdGVTdGF0ZVwiOm51bGx9In0.phz8PnUTMzySV5fe4JNEaulBoJN7oHV7Wtn3166IMPA","vType":2,"isAttestation":0,"vagrancy":0,"remind":1,"mateState":1}}
     */

    private int code;
    private String msg;
    private ObjectBean object;
    private MapBean map;

    protected VoiceChatBean(Parcel in) {
        code = in.readInt();
        msg = in.readString();
    }

    public static final Creator<VoiceChatBean> CREATOR = new Creator<VoiceChatBean>() {
        @Override
        public VoiceChatBean createFromParcel(Parcel in) {
            return new VoiceChatBean(in);
        }

        @Override
        public VoiceChatBean[] newArray(int size) {
            return new VoiceChatBean[size];
        }
    };

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ObjectBean getObject() {
        return object;
    }

    public void setObject(ObjectBean object) {
        this.object = object;
    }

    public MapBean getMap() {
        return map;
    }

    public void setMap(MapBean map) {
        this.map = map;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(code);
        dest.writeString(msg);
    }

    public static class ObjectBean {
        /**
         * isNewRecord : true
         * roomId : 10003
         */

        private boolean isNewRecord;
        private int roomId;

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public int getRoomId() {
            return roomId;
        }

        public void setRoomId(int roomId) {
            this.roomId = roomId;
        }
    }

    public static class MapBean implements Parcelable{
        /**
         * callingUser : {"id":"f68b3c28db3c41d795b34268aef3b68a","isNewRecord":false,"updateDate":"2018-11-21 11:35:28","number":"123456","mobile":"18756935824","nickName":"小姐姐","avatarUrl":"head/58241542174592183.jpg","gender":2,"birthday":"1990-11-19","height":"150cm;31kg","province":"北京","voiceInfo":"voice/18756935824yinyin.aac","duration":14,"mark":1,"status":2,"autograph":"#我喜欢你，你","ascription":"西城","constellation":"天蝎座","gold":5,"type":2,"voiceSign":1,"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDMzNzYxMjg1ODgsInBheWxvYWQiOiJ7XCJpZFwiOlwiZjY4YjNjMjhkYjNjNDFkNzk1YjM0MjY4YWVmM2I2OGFcIixcImlzTmV3UmVjb3JkXCI6ZmFsc2UsXCJyZW1hcmtzXCI6bnVsbCxcImNyZWF0ZURhdGVcIjpudWxsLFwidXBkYXRlRGF0ZVwiOm51bGwsXCJudW1iZXJcIjpudWxsLFwibW9iaWxlXCI6bnVsbCxcInRyaXBhcnRpdGVBY2NvdW50XCI6bnVsbCxcInRyaXBhcnRpdGVUeXBlXCI6bnVsbCxcInB3ZFwiOm51bGwsXCJuYW1lXCI6bnVsbCxcIm5pY2tOYW1lXCI6bnVsbCxcImF2YXRhclVybFwiOm51bGwsXCJnZW5kZXJcIjpudWxsLFwiYmlydGhkYXlcIjpudWxsLFwiaGVpZ2h0XCI6bnVsbCxcInByb3ZpbmNlXCI6bnVsbCxcInZvaWNlSW5mb1wiOm51bGwsXCJkdXJhdGlvblwiOm51bGwsXCJtYXJrXCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJhdXRvZ3JhcGhcIjpudWxsLFwiYXNjcmlwdGlvblwiOm51bGwsXCJjb25zdGVsbGF0aW9uXCI6bnVsbCxcImdvbGRcIjpudWxsLFwidHlwZVwiOm51bGwsXCJhdHRlc3RhdGlvbkRhdGVcIjpudWxsLFwiY292ZXJVcmxcIjpudWxsLFwiY2hhbm5lbFwiOm51bGwsXCJ2b2ljZVNpZ25cIjpudWxsLFwiY29kZVwiOm51bGwsXCJlcXVpcG1lbnRJZFwiOlwiYV9pbWVpXzg2OTg5NzAzNjAzMTI5MVwiLFwidG9rZW5cIjpudWxsLFwidlR5cGVcIjpudWxsLFwiYlR5cGVcIjpudWxsLFwibGFib3VyTmFtZVwiOm51bGwsXCJhbmNob3JJZFwiOm51bGwsXCJ1c2VySWRcIjpudWxsLFwiaXNGYWJ1bG91c1wiOm51bGwsXCJpc0dpZnRcIjpudWxsLFwiaXNWb2ljZVRpbWVcIjpudWxsLFwiaXNBdHRlc3RhdGlvblwiOm51bGwsXCJ2YWdyYW5jeVwiOm51bGwsXCJyZW1pbmRcIjpudWxsLFwicGF5U2lnblwiOm51bGwsXCJtYXRlU3RhdGVcIjpudWxsfSJ9.baMh1n8n800K9GO34qfawq56kjlKZTGmY2-TCA7TwOo","vType":2,"isAttestation":1,"vagrancy":1,"remind":1,"mateState":1}
         * calledUser : {"id":"d3611093491141cfb8e1b43692e5d3b6","isNewRecord":false,"updateDate":"2018-11-20 20:45:52","number":"1111","mobile":"13754326412","nickName":"ss听听歌","avatarUrl":"head/64121542624094.jpg","gender":1,"birthday":"1998-04-24","height":"176cm;61kg","province":"北京","voiceInfo":"voice/13754326412yinyin.aac","duration":5,"mark":1,"status":1,"autograph":"yy\u2006uu\u2006fu\u2006fu\u2006y\u2006g\u2006f\u2006j\u2006","ascription":"西城","constellation":"金牛座","gold":10,"type":2,"voiceSign":1,"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDMzMjI3NTI1MjQsInBheWxvYWQiOiJ7XCJpZFwiOlwiZDM2MTEwOTM0OTExNDFjZmI4ZTFiNDM2OTJlNWQzYjZcIixcImlzTmV3UmVjb3JkXCI6ZmFsc2UsXCJyZW1hcmtzXCI6bnVsbCxcImNyZWF0ZURhdGVcIjpudWxsLFwidXBkYXRlRGF0ZVwiOm51bGwsXCJudW1iZXJcIjpudWxsLFwibW9iaWxlXCI6bnVsbCxcInRyaXBhcnRpdGVBY2NvdW50XCI6bnVsbCxcInRyaXBhcnRpdGVUeXBlXCI6bnVsbCxcInB3ZFwiOm51bGwsXCJuYW1lXCI6bnVsbCxcIm5pY2tOYW1lXCI6bnVsbCxcImF2YXRhclVybFwiOm51bGwsXCJnZW5kZXJcIjpudWxsLFwiYmlydGhkYXlcIjpudWxsLFwiaGVpZ2h0XCI6bnVsbCxcInByb3ZpbmNlXCI6bnVsbCxcInZvaWNlSW5mb1wiOm51bGwsXCJkdXJhdGlvblwiOm51bGwsXCJtYXJrXCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJhdXRvZ3JhcGhcIjpudWxsLFwiYXNjcmlwdGlvblwiOm51bGwsXCJjb25zdGVsbGF0aW9uXCI6bnVsbCxcImdvbGRcIjpudWxsLFwidHlwZVwiOm51bGwsXCJhdHRlc3RhdGlvbkRhdGVcIjpudWxsLFwiY292ZXJVcmxcIjpudWxsLFwiY2hhbm5lbFwiOm51bGwsXCJ2b2ljZVNpZ25cIjpudWxsLFwiY29kZVwiOm51bGwsXCJlcXVpcG1lbnRJZFwiOlwiQjREODFEMDgtNTk2RS00QjRBLUJGRTQtREQ3QUE1MDgyRUVBXCIsXCJ0b2tlblwiOm51bGwsXCJ2VHlwZVwiOm51bGwsXCJiVHlwZVwiOm51bGwsXCJsYWJvdXJOYW1lXCI6bnVsbCxcImFuY2hvcklkXCI6bnVsbCxcInVzZXJJZFwiOm51bGwsXCJpc0ZhYnVsb3VzXCI6bnVsbCxcImlzR2lmdFwiOm51bGwsXCJpc1ZvaWNlVGltZVwiOm51bGwsXCJpc0F0dGVzdGF0aW9uXCI6bnVsbCxcInZhZ3JhbmN5XCI6bnVsbCxcInJlbWluZFwiOm51bGwsXCJwYXlTaWduXCI6bnVsbCxcIm1hdGVTdGF0ZVwiOm51bGx9In0.phz8PnUTMzySV5fe4JNEaulBoJN7oHV7Wtn3166IMPA","vType":2,"isAttestation":0,"vagrancy":0,"remind":1,"mateState":1}
         */
        private CallingUserBean callingUser;//语音发送者信息
        private CalledUserBean calledUser;//语音接收者信息

        protected MapBean(Parcel in) {
            callingUser = in.readParcelable(CallingUserBean.class.getClassLoader());
            calledUser = in.readParcelable(CalledUserBean.class.getClassLoader());
        }

        public static final Creator<MapBean> CREATOR = new Creator<MapBean>() {
            @Override
            public MapBean createFromParcel(Parcel in) {
                return new MapBean(in);
            }

            @Override
            public MapBean[] newArray(int size) {
                return new MapBean[size];
            }
        };

        public CallingUserBean getCallingUser() {
            return callingUser;
        }

        public void setCallingUser(CallingUserBean callingUser) {
            this.callingUser = callingUser;
        }

        public CalledUserBean getCalledUser() {
            return calledUser;
        }

        public void setCalledUser(CalledUserBean calledUser) {
            this.calledUser = calledUser;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeParcelable(callingUser, flags);
            dest.writeParcelable(calledUser, flags);
        }

        public static class CallingUserBean implements Parcelable{
            /**
             * id : f68b3c28db3c41d795b34268aef3b68a
             * isNewRecord : false
             * updateDate : 2018-11-21 11:35:28
             * number : 123456
             * mobile : 18756935824
             * nickName : 小姐姐
             * avatarUrl : head/58241542174592183.jpg
             * gender : 2
             * birthday : 1990-11-19
             * height : 150cm;31kg
             * province : 北京
             * voiceInfo : voice/18756935824yinyin.aac
             * duration : 14
             * mark : 1
             * status : 2
             * autograph : #我喜欢你，你
             * ascription : 西城
             * constellation : 天蝎座
             * gold : 5
             * type : 2
             * voiceSign : 1
             * token : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDMzNzYxMjg1ODgsInBheWxvYWQiOiJ7XCJpZFwiOlwiZjY4YjNjMjhkYjNjNDFkNzk1YjM0MjY4YWVmM2I2OGFcIixcImlzTmV3UmVjb3JkXCI6ZmFsc2UsXCJyZW1hcmtzXCI6bnVsbCxcImNyZWF0ZURhdGVcIjpudWxsLFwidXBkYXRlRGF0ZVwiOm51bGwsXCJudW1iZXJcIjpudWxsLFwibW9iaWxlXCI6bnVsbCxcInRyaXBhcnRpdGVBY2NvdW50XCI6bnVsbCxcInRyaXBhcnRpdGVUeXBlXCI6bnVsbCxcInB3ZFwiOm51bGwsXCJuYW1lXCI6bnVsbCxcIm5pY2tOYW1lXCI6bnVsbCxcImF2YXRhclVybFwiOm51bGwsXCJnZW5kZXJcIjpudWxsLFwiYmlydGhkYXlcIjpudWxsLFwiaGVpZ2h0XCI6bnVsbCxcInByb3ZpbmNlXCI6bnVsbCxcInZvaWNlSW5mb1wiOm51bGwsXCJkdXJhdGlvblwiOm51bGwsXCJtYXJrXCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJhdXRvZ3JhcGhcIjpudWxsLFwiYXNjcmlwdGlvblwiOm51bGwsXCJjb25zdGVsbGF0aW9uXCI6bnVsbCxcImdvbGRcIjpudWxsLFwidHlwZVwiOm51bGwsXCJhdHRlc3RhdGlvbkRhdGVcIjpudWxsLFwiY292ZXJVcmxcIjpudWxsLFwiY2hhbm5lbFwiOm51bGwsXCJ2b2ljZVNpZ25cIjpudWxsLFwiY29kZVwiOm51bGwsXCJlcXVpcG1lbnRJZFwiOlwiYV9pbWVpXzg2OTg5NzAzNjAzMTI5MVwiLFwidG9rZW5cIjpudWxsLFwidlR5cGVcIjpudWxsLFwiYlR5cGVcIjpudWxsLFwibGFib3VyTmFtZVwiOm51bGwsXCJhbmNob3JJZFwiOm51bGwsXCJ1c2VySWRcIjpudWxsLFwiaXNGYWJ1bG91c1wiOm51bGwsXCJpc0dpZnRcIjpudWxsLFwiaXNWb2ljZVRpbWVcIjpudWxsLFwiaXNBdHRlc3RhdGlvblwiOm51bGwsXCJ2YWdyYW5jeVwiOm51bGwsXCJyZW1pbmRcIjpudWxsLFwicGF5U2lnblwiOm51bGwsXCJtYXRlU3RhdGVcIjpudWxsfSJ9.baMh1n8n800K9GO34qfawq56kjlKZTGmY2-TCA7TwOo
             * vType : 2
             * isAttestation : 1
             * vagrancy : 1
             * remind : 1
             * mateState : 1
             */

            private String id;
            private boolean isNewRecord;
            private String updateDate;
            private String number;
            private String mobile;
            private String nickName;
            private String avatarUrl;
            private int gender;
            private String birthday;
            private String height;
            private String province;
            private String voiceInfo;
            private int duration;
            private int mark;
            private int status;
            private String autograph;
            private String ascription;
            private String constellation;
            private int gold;
            private int type;//1普通用户2主播
            private int voiceSign;
            private String token;
            private int vType;
            private int isAttestation;
            private int vagrancy;
            private int remind;
            private int mateState;

            protected CallingUserBean(Parcel in) {
                id = in.readString();
                isNewRecord = in.readByte() != 0;
                updateDate = in.readString();
                number = in.readString();
                mobile = in.readString();
                nickName = in.readString();
                avatarUrl = in.readString();
                gender = in.readInt();
                birthday = in.readString();
                height = in.readString();
                province = in.readString();
                voiceInfo = in.readString();
                duration = in.readInt();
                mark = in.readInt();
                status = in.readInt();
                autograph = in.readString();
                ascription = in.readString();
                constellation = in.readString();
                gold = in.readInt();
                type = in.readInt();
                voiceSign = in.readInt();
                token = in.readString();
                vType = in.readInt();
                isAttestation = in.readInt();
                vagrancy = in.readInt();
                remind = in.readInt();
                mateState = in.readInt();
            }

            public static final Creator<CallingUserBean> CREATOR = new Creator<CallingUserBean>() {
                @Override
                public CallingUserBean createFromParcel(Parcel in) {
                    return new CallingUserBean(in);
                }

                @Override
                public CallingUserBean[] newArray(int size) {
                    return new CallingUserBean[size];
                }
            };

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public String getUpdateDate() {
                return updateDate;
            }

            public void setUpdateDate(String updateDate) {
                this.updateDate = updateDate;
            }

            public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public String getAvatarUrl() {
                return avatarUrl;
            }

            public void setAvatarUrl(String avatarUrl) {
                this.avatarUrl = avatarUrl;
            }

            public int getGender() {
                return gender;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }

            public String getBirthday() {
                return birthday;
            }

            public void setBirthday(String birthday) {
                this.birthday = birthday;
            }

            public String getHeight() {
                return height;
            }

            public void setHeight(String height) {
                this.height = height;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getVoiceInfo() {
                return voiceInfo;
            }

            public void setVoiceInfo(String voiceInfo) {
                this.voiceInfo = voiceInfo;
            }

            public int getDuration() {
                return duration;
            }

            public void setDuration(int duration) {
                this.duration = duration;
            }

            public int getMark() {
                return mark;
            }

            public void setMark(int mark) {
                this.mark = mark;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getAutograph() {
                return autograph;
            }

            public void setAutograph(String autograph) {
                this.autograph = autograph;
            }

            public String getAscription() {
                return ascription;
            }

            public void setAscription(String ascription) {
                this.ascription = ascription;
            }

            public String getConstellation() {
                return constellation;
            }

            public void setConstellation(String constellation) {
                this.constellation = constellation;
            }

            public int getGold() {
                return gold/10;
            }

            public void setGold(int gold) {
                this.gold = gold;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getVoiceSign() {
                return voiceSign;
            }

            public void setVoiceSign(int voiceSign) {
                this.voiceSign = voiceSign;
            }

            public String getToken() {
                return token;
            }

            public void setToken(String token) {
                this.token = token;
            }

            public int getVType() {
                return vType;
            }

            public void setVType(int vType) {
                this.vType = vType;
            }

            public int getIsAttestation() {
                return isAttestation;
            }

            public void setIsAttestation(int isAttestation) {
                this.isAttestation = isAttestation;
            }

            public int getVagrancy() {
                return vagrancy;
            }

            public void setVagrancy(int vagrancy) {
                this.vagrancy = vagrancy;
            }

            public int getRemind() {
                return remind;
            }

            public void setRemind(int remind) {
                this.remind = remind;
            }

            public int getMateState() {
                return mateState;
            }

            public void setMateState(int mateState) {
                this.mateState = mateState;
            }

            @Override
            public String toString() {
                return "CallingUserBean{" +
                        "id='" + id + '\'' +
                        ", isNewRecord=" + isNewRecord +
                        ", updateDate='" + updateDate + '\'' +
                        ", number='" + number + '\'' +
                        ", mobile='" + mobile + '\'' +
                        ", nickName='" + nickName + '\'' +
                        ", avatarUrl='" + avatarUrl + '\'' +
                        ", gender=" + gender +
                        ", birthday='" + birthday + '\'' +
                        ", height='" + height + '\'' +
                        ", province='" + province + '\'' +
                        ", voiceInfo='" + voiceInfo + '\'' +
                        ", duration=" + duration +
                        ", mark=" + mark +
                        ", status=" + status +
                        ", autograph='" + autograph + '\'' +
                        ", ascription='" + ascription + '\'' +
                        ", constellation='" + constellation + '\'' +
                        ", gold=" + gold +
                        ", type=" + type +
                        ", voiceSign=" + voiceSign +
                        ", token='" + token + '\'' +
                        ", vType=" + vType +
                        ", isAttestation=" + isAttestation +
                        ", vagrancy=" + vagrancy +
                        ", remind=" + remind +
                        ", mateState=" + mateState +
                        '}';
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(id);
                dest.writeByte((byte) (isNewRecord ? 1 : 0));
                dest.writeString(updateDate);
                dest.writeString(number);
                dest.writeString(mobile);
                dest.writeString(nickName);
                dest.writeString(avatarUrl);
                dest.writeInt(gender);
                dest.writeString(birthday);
                dest.writeString(height);
                dest.writeString(province);
                dest.writeString(voiceInfo);
                dest.writeInt(duration);
                dest.writeInt(mark);
                dest.writeInt(status);
                dest.writeString(autograph);
                dest.writeString(ascription);
                dest.writeString(constellation);
                dest.writeInt(gold);
                dest.writeInt(type);
                dest.writeInt(voiceSign);
                dest.writeString(token);
                dest.writeInt(vType);
                dest.writeInt(isAttestation);
                dest.writeInt(vagrancy);
                dest.writeInt(remind);
                dest.writeInt(mateState);
            }
        }

        public static class CalledUserBean implements Parcelable{
            /**
             * id : d3611093491141cfb8e1b43692e5d3b6
             * isNewRecord : false
             * updateDate : 2018-11-20 20:45:52
             * number : 1111
             * mobile : 13754326412
             * nickName : ss听听歌
             * avatarUrl : head/64121542624094.jpg
             * gender : 1
             * birthday : 1998-04-24
             * height : 176cm;61kg
             * province : 北京
             * voiceInfo : voice/13754326412yinyin.aac
             * duration : 5
             * mark : 1
             * status : 1
             * autograph : yy uu fu fu y g f j 
             * ascription : 西城
             * constellation : 金牛座
             * gold : 10
             * type : 2
             * voiceSign : 1
             * token : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1NDMzMjI3NTI1MjQsInBheWxvYWQiOiJ7XCJpZFwiOlwiZDM2MTEwOTM0OTExNDFjZmI4ZTFiNDM2OTJlNWQzYjZcIixcImlzTmV3UmVjb3JkXCI6ZmFsc2UsXCJyZW1hcmtzXCI6bnVsbCxcImNyZWF0ZURhdGVcIjpudWxsLFwidXBkYXRlRGF0ZVwiOm51bGwsXCJudW1iZXJcIjpudWxsLFwibW9iaWxlXCI6bnVsbCxcInRyaXBhcnRpdGVBY2NvdW50XCI6bnVsbCxcInRyaXBhcnRpdGVUeXBlXCI6bnVsbCxcInB3ZFwiOm51bGwsXCJuYW1lXCI6bnVsbCxcIm5pY2tOYW1lXCI6bnVsbCxcImF2YXRhclVybFwiOm51bGwsXCJnZW5kZXJcIjpudWxsLFwiYmlydGhkYXlcIjpudWxsLFwiaGVpZ2h0XCI6bnVsbCxcInByb3ZpbmNlXCI6bnVsbCxcInZvaWNlSW5mb1wiOm51bGwsXCJkdXJhdGlvblwiOm51bGwsXCJtYXJrXCI6bnVsbCxcInN0YXR1c1wiOm51bGwsXCJhdXRvZ3JhcGhcIjpudWxsLFwiYXNjcmlwdGlvblwiOm51bGwsXCJjb25zdGVsbGF0aW9uXCI6bnVsbCxcImdvbGRcIjpudWxsLFwidHlwZVwiOm51bGwsXCJhdHRlc3RhdGlvbkRhdGVcIjpudWxsLFwiY292ZXJVcmxcIjpudWxsLFwiY2hhbm5lbFwiOm51bGwsXCJ2b2ljZVNpZ25cIjpudWxsLFwiY29kZVwiOm51bGwsXCJlcXVpcG1lbnRJZFwiOlwiQjREODFEMDgtNTk2RS00QjRBLUJGRTQtREQ3QUE1MDgyRUVBXCIsXCJ0b2tlblwiOm51bGwsXCJ2VHlwZVwiOm51bGwsXCJiVHlwZVwiOm51bGwsXCJsYWJvdXJOYW1lXCI6bnVsbCxcImFuY2hvcklkXCI6bnVsbCxcInVzZXJJZFwiOm51bGwsXCJpc0ZhYnVsb3VzXCI6bnVsbCxcImlzR2lmdFwiOm51bGwsXCJpc1ZvaWNlVGltZVwiOm51bGwsXCJpc0F0dGVzdGF0aW9uXCI6bnVsbCxcInZhZ3JhbmN5XCI6bnVsbCxcInJlbWluZFwiOm51bGwsXCJwYXlTaWduXCI6bnVsbCxcIm1hdGVTdGF0ZVwiOm51bGx9In0.phz8PnUTMzySV5fe4JNEaulBoJN7oHV7Wtn3166IMPA
             * vType : 2
             * isAttestation : 0
             * vagrancy : 0
             * remind : 1
             * mateState : 1
             */

            private String id;
            private boolean isNewRecord;
            private String updateDate;
            private String number;
            private String mobile;
            private String nickName;
            private String avatarUrl;
            private int gender;
            private String birthday;
            private String height;
            private String province;
            private String voiceInfo;
            private int duration;
            private int mark;
            private int status;
            private String autograph;
            private String ascription;
            private String constellation;
            private int gold;
            private int type;//1普通用户2主播
            private int voiceSign;
            private String token;
            private int vType;
            private int isAttestation;
            private int vagrancy;
            private int remind;
            private int mateState;

            protected CalledUserBean(Parcel in) {
                id = in.readString();
                isNewRecord = in.readByte() != 0;
                updateDate = in.readString();
                number = in.readString();
                mobile = in.readString();
                nickName = in.readString();
                avatarUrl = in.readString();
                gender = in.readInt();
                birthday = in.readString();
                height = in.readString();
                province = in.readString();
                voiceInfo = in.readString();
                duration = in.readInt();
                mark = in.readInt();
                status = in.readInt();
                autograph = in.readString();
                ascription = in.readString();
                constellation = in.readString();
                gold = in.readInt();
                type = in.readInt();
                voiceSign = in.readInt();
                token = in.readString();
                vType = in.readInt();
                isAttestation = in.readInt();
                vagrancy = in.readInt();
                remind = in.readInt();
                mateState = in.readInt();
            }

            public static final Creator<CalledUserBean> CREATOR = new Creator<CalledUserBean>() {
                @Override
                public CalledUserBean createFromParcel(Parcel in) {
                    return new CalledUserBean(in);
                }

                @Override
                public CalledUserBean[] newArray(int size) {
                    return new CalledUserBean[size];
                }
            };

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public String getUpdateDate() {
                return updateDate;
            }

            public void setUpdateDate(String updateDate) {
                this.updateDate = updateDate;
            }

            public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public String getAvatarUrl() {
                return avatarUrl;
            }

            public void setAvatarUrl(String avatarUrl) {
                this.avatarUrl = avatarUrl;
            }

            public int getGender() {
                return gender;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }

            public String getBirthday() {
                return birthday;
            }

            public void setBirthday(String birthday) {
                this.birthday = birthday;
            }

            public String getHeight() {
                return height;
            }

            public void setHeight(String height) {
                this.height = height;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getVoiceInfo() {
                return voiceInfo;
            }

            public void setVoiceInfo(String voiceInfo) {
                this.voiceInfo = voiceInfo;
            }

            public int getDuration() {
                return duration;
            }

            public void setDuration(int duration) {
                this.duration = duration;
            }

            public int getMark() {
                return mark;
            }

            public void setMark(int mark) {
                this.mark = mark;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getAutograph() {
                return autograph;
            }

            public void setAutograph(String autograph) {
                this.autograph = autograph;
            }

            public String getAscription() {
                return ascription;
            }

            public void setAscription(String ascription) {
                this.ascription = ascription;
            }

            public String getConstellation() {
                return constellation;
            }

            public void setConstellation(String constellation) {
                this.constellation = constellation;
            }

            public int getGold() {
                return gold/10;
            }

            public void setGold(int gold) {
                this.gold = gold;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getVoiceSign() {
                return voiceSign;
            }

            public void setVoiceSign(int voiceSign) {
                this.voiceSign = voiceSign;
            }

            public String getToken() {
                return token;
            }

            public void setToken(String token) {
                this.token = token;
            }

            public int getVType() {
                return vType;
            }

            public void setVType(int vType) {
                this.vType = vType;
            }

            public int getIsAttestation() {
                return isAttestation;
            }

            public void setIsAttestation(int isAttestation) {
                this.isAttestation = isAttestation;
            }

            public int getVagrancy() {
                return vagrancy;
            }

            public void setVagrancy(int vagrancy) {
                this.vagrancy = vagrancy;
            }

            public int getRemind() {
                return remind;
            }

            public void setRemind(int remind) {
                this.remind = remind;
            }

            public int getMateState() {
                return mateState;
            }

            public void setMateState(int mateState) {
                this.mateState = mateState;
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public String toString() {
                return "CalledUserBean{" +
                        "id='" + id + '\'' +
                        ", isNewRecord=" + isNewRecord +
                        ", updateDate='" + updateDate + '\'' +
                        ", number='" + number + '\'' +
                        ", mobile='" + mobile + '\'' +
                        ", nickName='" + nickName + '\'' +
                        ", avatarUrl='" + avatarUrl + '\'' +
                        ", gender=" + gender +
                        ", birthday='" + birthday + '\'' +
                        ", height='" + height + '\'' +
                        ", province='" + province + '\'' +
                        ", voiceInfo='" + voiceInfo + '\'' +
                        ", duration=" + duration +
                        ", mark=" + mark +
                        ", status=" + status +
                        ", autograph='" + autograph + '\'' +
                        ", ascription='" + ascription + '\'' +
                        ", constellation='" + constellation + '\'' +
                        ", gold=" + gold +
                        ", type=" + type +
                        ", voiceSign=" + voiceSign +
                        ", token='" + token + '\'' +
                        ", vType=" + vType +
                        ", isAttestation=" + isAttestation +
                        ", vagrancy=" + vagrancy +
                        ", remind=" + remind +
                        ", mateState=" + mateState +
                        '}';
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(id);
                dest.writeByte((byte) (isNewRecord ? 1 : 0));
                dest.writeString(updateDate);
                dest.writeString(number);
                dest.writeString(mobile);
                dest.writeString(nickName);
                dest.writeString(avatarUrl);
                dest.writeInt(gender);
                dest.writeString(birthday);
                dest.writeString(height);
                dest.writeString(province);
                dest.writeString(voiceInfo);
                dest.writeInt(duration);
                dest.writeInt(mark);
                dest.writeInt(status);
                dest.writeString(autograph);
                dest.writeString(ascription);
                dest.writeString(constellation);
                dest.writeInt(gold);
                dest.writeInt(type);
                dest.writeInt(voiceSign);
                dest.writeString(token);
                dest.writeInt(vType);
                dest.writeInt(isAttestation);
                dest.writeInt(vagrancy);
                dest.writeInt(remind);
                dest.writeInt(mateState);
            }
        }
    }
}
